home *** CD-ROM | disk | FTP | other *** search
/ Aminet 38 / Aminet 38 (2000)(Schatztruhe)[!][Aug 2000].iso / Aminet / misc / math / libalgo.readme < prev    next >
Encoding:
Text File  |  2000-07-01  |  3.9 KB  |  117 lines

  1. Short:    Libalgo link library with source (PPC)
  2. Author:   Arnand Turpel, Patrick Dostert, Andreas R. Kleinert (port)
  3. Uploader: info@ar-kleinert.de
  4. Type:     misc/math
  5.  
  6.  *************************************************************************
  7.  
  8. Algomath- c Library   Release 1.0.5   03.2000
  9. -------------------   -------------   -------
  10.  
  11. Algomath is a portable Arithmetic C Library.
  12. All routines have been thoroughly optimised for speed and efficiency,
  13. while at the same time portable C. [...]
  14.  
  15. Download the latest release at:
  16. http://www2.vo.lu/homepages/armand/index.html
  17.  
  18. You are free to do anything you desire with this code,
  19. as long as you give credit where credit is due...
  20.  
  21. For criticism, fixes, suggestions, enhancements, send email to:
  22.  
  23. Armand Turpel: armandt@unforgettable.com
  24.  
  25. Patrick Dostert: patrick.dostert@cie.etat.lu
  26. who helped in optimizing this library
  27.  
  28. [...]
  29.  
  30. int am_init()
  31. void am_exit()
  32.  
  33. int am_numlength(int n)
  34. int am_sumdigits(int n)
  35. int am_sumdigitsalt(int n)
  36. int am_extract(int n, int x)
  37. int am_replace(int n, int d1, int d2)
  38. int am_swap(int n, int d1, int d2)
  39. int am_rotate(int n, int x, int p)
  40. int am_sort( int n)
  41.  
  42. int am_sumdivisor(int n)
  43. int am_gcd(int a, int b)
  44. int am_hailstone(int n)
  45.  
  46. int am_isprime(int n)
  47. int am_prime_ba(int t, int x)
  48. int *am_primes_array(int n, int x)
  49. int *am_primes_between(int n1, int n2, int *p)
  50. int *am_factorize(int n, int *factors)
  51. int am_goldbach(int n,int *d1, int *d2)
  52.  
  53. [...]
  54.  
  55.   Luxembourg, 11.1999,
  56.   Armand Turpel
  57.  
  58.  *************************************************************************
  59.  
  60.  The Amiga version only comes with makefile for PPC (and a precompiled libalgo.a)
  61.  plus a test program. However, it should be really simple to do a 68k version.
  62.  
  63.  The test program demonstrates
  64.  
  65.     "--'strong' Goldbach's Conjecture
  66.         The Conjecture is, "Every even integer >= 4 is the sum of
  67.         two primes.--"
  68.  
  69.  by performing am_goldbach on 16 by default. Alternatively one can
  70.  say
  71.  
  72.     test [number]
  73.  
  74.  which will work for even numbers and give an error for odd numbers...
  75.  
  76.  --
  77.  ARK, 30/May/2000
  78.  
  79.  
  80. ============================= Archive contents =============================
  81.  
  82. Original  Packed Ratio    Date     Time    Name
  83. -------- ------- ----- --------- --------  -------------
  84.     1087     463 57.4% 30-May-00 12:09:10 +algomath.h
  85.    10716    7966 25.6% 19-Oct-99 01:56:24 +isprime.o
  86.    10716    7968 25.6% 20-Oct-99 02:00:58 +isprime.obj
  87.    19538    9494 51.4% 12-Apr-00 10:44:22 +isprime.asm
  88.    30944    6761 78.1% 30-May-00 12:09:30 +libalgo.a
  89.     2052     983 52.0% 30-May-00 12:13:44 +libalgo.readme
  90.      566     327 42.2% 30-May-00 12:12:24 +main.c
  91.     1754     775 55.8% 30-May-00 11:24:30 +makefile
  92.    13464    4528 66.3% 30-May-00 11:49:50 +readme.txt
  93.     2329     604 74.0% 30-May-00 11:53:14 +smakefile
  94.      274     175 36.1% 30-May-00 11:24:34 +defs.h
  95.       93      74 20.4% 30-May-00 11:24:34 +exit.c
  96.      732     242 66.9% 30-May-00 11:24:34 +extdigx.c
  97.      594     281 52.6% 30-May-00 11:24:34 +fact.c
  98.      160     117 26.8% 30-May-00 11:24:34 +gcd.c
  99.      641     232 63.8% 30-May-00 11:24:34 +goldbach.c
  100.      911     463 49.1% 30-May-00 11:24:34 +hail.c
  101.     1342     487 63.7% 30-May-00 11:24:34 +init.c
  102.      430     244 43.2% 30-May-00 11:24:34 +isprime.c
  103.      529     179 66.1% 30-May-00 11:24:34 +numlen.c
  104.     1322     517 60.8% 30-May-00 11:24:34 +priarrab.c
  105.     1612     480 70.2% 30-May-00 11:24:34 +priarray.c
  106.     1366     392 71.3% 30-May-00 11:24:34 +primeab.c
  107.     1486     412 72.2% 30-May-00 11:24:34 +repdig.c
  108.     1461     455 68.8% 30-May-00 11:24:34 +rotatex.c
  109.      480     227 52.7% 30-May-00 11:24:34 +sdigalt.c
  110.      479     267 44.2% 30-May-00 11:24:34 +sortdig.c
  111.      749     188 74.8% 30-May-00 11:24:34 +sumdigit.c
  112.      387     218 43.6% 30-May-00 11:24:34 +sumdiv.c
  113.     1607     421 73.8% 30-May-00 11:24:34 +swapdig.c
  114.    29665   13777 53.5% 30-May-00 12:12:28 +test.elf
  115. -------- ------- ----- --------- --------
  116.   139486   59717 57.1% 31-May-100 18:45:08   31 files
  117.